package com.ruoyi.system.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.system.api.factory.RemoteWarehouseFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 智能仓储
 */
@FeignClient(contextId = "RemoteWarehouseService", value = ServiceNameConstants.WAREHOUSE_SERVICE, fallbackFactory = RemoteWarehouseFallbackFactory.class)
public interface RemoteWarehouseService {
    /**
     * 智能仓储
     *
     * @param
     * @return
     */
    @GetMapping(value = "/asset/updateAssetAsync")
    public void updateAssetAsync(@RequestParam(value = "orgNo") String orgNo);

}

